<template>
  <div class="home">
    <h2>{{res}}</h2>
    <h2>{{ret}}</h2>
    <input type="text" v-model="res">
    <ZujiaN :fcz="ret" @zcf="xiugai"></ZujiaN>
  </div>
</template>

<script setup>
import ZujiaN from '../components/ZujiaN';
import { ref } from "vue";
const res=ref('这是反馈');
const ret=ref('父标签');
const xiugai=(vvl)=>{
  ret.value=vvl
}

</script>

<style>

</style>